<me:UIVKQA x:Class="WPFExcelReport.TJLVKQA"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:VKP="clr-namespace:WPFExcelReport;assembly=TVKPOS" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    FontSize="14"
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVKQA.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter  x:Key="nbv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:TextTrimmingConverter x:Key ="trim"/>
    </me:UIVKQA.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
            <ColumnDefinition Width="1*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Expander  Grid.Row="0" Grid.Column="0" IsExpanded="True" ExpandDirection="Right"  Name="cZone">
            <VKP:TJLVK05QA  Margin="5,0,0,0"  Grid.Row="1"   x:Name="CVKP" 
                            Rows="30" PRART="{Binding CART,ElementName=TV}" KEY="{Binding ROWNID,ElementName=TV}"
                            IsPage="True"                             
                       />
        </Expander>
        <ex:AniScrollViewer Grid.Row="0" Grid.Column="1" > 
           <StackPanel>
                <WrapPanel>
                    <Button  Click="NEWCommand" Height="25" Margin="0,0,0,0" Width="Auto" Content="{Binding Source={Localization:Translate Word=按百平方码评分插入}}" Visibility="{Binding IsNew,Converter={StaticResource ResourceKey=bv}}" />
                    <Button  Click="NEWBMCommand" Height="25" Margin="10,0,0,0" Width="Auto" Content="{Binding Source={Localization:Translate Word=按百码评分插入}}" Visibility="{Binding IsNew,Converter={StaticResource ResourceKey=bv}}" />
                    <Button  Click="DELETECommand" Height="25" Margin="10,0,0,0" Width="Auto" Content="{Binding Source={Localization:Translate Word=删除(将删除所有仅在别的部门未评审前可操作)}}" Visibility="{Binding IsNew,Converter={StaticResource ResourceKey=nbv}}"  />
                </WrapPanel>
                <WrapPanel>
                    <TextBlock Grid.Column="0" FontSize="16" Text="{Binding Source={Localization:Translate Word=品种:}}" />
                    
                </WrapPanel>
            </StackPanel>
        </ex:AniScrollViewer>  
    </Grid>
</me:UIVKQA>
